package com.sicnu.estatemanagement.service;

import com.github.pagehelper.Page;
import com.sicnu.estatemanagement.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {

    List<Activity> findAll();

    Page<Activity> search(Map searchMap);

    Boolean add(Activity Activity);

    Activity findById(Integer id);

    Boolean update(Activity Activity);

    Boolean del(List<Integer> ids);
}
